package com.example.mydemo1.mapper;

import com.example.mydemo1.entity.po.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 用户表 数据层，mybatis接口类
 * </p>
 *
 * @createTime: 2023/09/16 14:29:44
 */
public interface SysUserMapper extends BaseMapper<SysUser> {
    // Available parameters are [subSysUsers, collection, list]
    // 参数是list集合时，在xml文件的for循环中可以用subSysUsers, collection, list接收
    // 参数是set集合时，在xml文件的for循环中可以用subSysUsers, collection接收
    void batchInsert(List<SysUser> subSysUsers);

    void batchInsertOnDuplicateKeyUpdate(List<SysUser> subSysUsers);

    void batchDelete(List<SysUser> subSysUsers);

    void batchModify(List<SysUser> subSysUsers);
}
